<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>服务调用插件详情</title>
<link href="../../static/plugin/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/plugin/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<link href="../../static/css/esaas-easyui-view.css" rel="stylesheet" type="text/css"/>
<script src="../../static/plugin/easyui/jquery.min.js" type="text/javascript"></script>
<script src="../../static/plugin/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/plugin/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../ffres/dict/all.js" type="text/javascript"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">

	    <form id="ff" method="post">
	    	<div class="esaas-info-title">服务调用插件信息</div>
	    	<table class="esaas-info-view-table">
			<tr>
				<td width="15%" align="right">配置标识符：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="pluginConfId" data-options="required:true, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">配置顺序：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="confSort" data-options="required:true, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">服务ID：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="serviceId" data-options="required:false, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">服务名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="serviceName" data-options="required:false, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">服务接口类：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="serviceInterface" data-options="required:false, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">服务实现方法：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="serviceMethod" data-options="required:false, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">方法返回类型：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="returnType" data-options="required:false, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">参数组标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="paramGroupId" data-options="required:false, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">服务版本：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="version" data-options="required:false, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">服务组别：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="group" data-options="required:false, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">调用超时时间(毫秒)：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="timeout" data-options="required:false, disabled: true"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
	    	</table>
	    </form>
	    <div style="text-align:center;padding:15px">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	    </div>
	</div>
	<script>	
		$(function() {
			var pluginConfId = $.getUrlParam('pluginConfId');
			var confSort = $.getUrlParam('confSort');
			$.restfulGet('../../api/plugin/service/conf/' + pluginConfId + '/' + confSort,null,function(data){
					$('#ff').form('load', {
						pluginConfId : data.rows.pluginConfId,
						confSort : data.rows.confSort,
						serviceId : data.rows.serviceId,
						serviceName : data.rows.serviceName,
						serviceInterface : data.rows.serviceInterface,
						serviceMethod : data.rows.serviceMethod,
						returnType : data.rows.returnType,
						paramGroupId : data.rows.paramGroupId,
						version : data.rows.version,
						group : data.rows.group,
						timeout : data.rows.timeout
					});					
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>